package com.yic.module.mes.controller.admin.mo.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 生产排产 Excel 导出 Request VO，参数和 MoPageReqVO 是一致的")
@Data
public class MoExportReqVO {

    @Schema(description = "工单号")
    private String code;

    @Schema(description = "生产计划", example = "4322")
    private Long planId;

    @Schema(description = "产品通用信息", example = "20672")
    private Long itemId;

    @Schema(description = "产品生产信息", example = "12791")
    private Long itemProduceId;

    @Schema(description = "上阶工单", example = "20411")
    private Long parentId;

    @Schema(description = "上阶工单")
    private String parentCode;

    @Schema(description = "工厂", example = "14096")
    private Long factoryId;

    @Schema(description = "生产车间", example = "19906")
    private Long workshopId;

    @Schema(description = "部门", example = "18136")
    private Long deptId;

    @Schema(description = "工单工艺路线", example = "20513")
    private Long moRouteId;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "审核状态")
    private Integer approve;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
